package com.dc.core.error;

/**
 * @author: KEYD
 * @Date: 2019/12/28 10:47
 * @Desc: 全局捕获异常
 */
//@ControllerAdvice
//@Slf4j
//public class GlobalExceptionHandler extends BaseApiService<JSONObject> {
//    @ExceptionHandler(RuntimeException.class)
//    @ResponseBody
//    public BaseResponse<JSONObject> exceptionHandler(Exception e) {
//        log.info("###全局捕获异常###,error:{}", e);
//        return setResultError("系统错误!");
//    }
//}
